package com.file.exercise;

import java.io.File;
import java.io.IOException;
import java.util.Scanner;

/**
 * @author げっしょく
 * @date 2021/7/31
 */
public class Test5 {
    public static void main(String[] args) throws IOException {
        Scanner sc = new Scanner(System.in);
        String name = sc.nextLine();
        File file = new File(name);
        if (!file.exists()) {
            System.out.println(file.mkdirs());
        }
        String s = sc.nextLine();
        File file1 = new File(file, s);
        System.out.println(file1.createNewFile());

    }
}
